<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <p>
        你已登录，欢迎你：{{ user.nickname }}
        <button class="btn btn-default"><a href="/logout">注销</a></button>
    </p>
    <ul>
    {% for i in res %}
    <li>
        <p>
        {% for j in i%}
        {% if not forloop.last %}
        {{ j }}
        {% else%}
        {% for k in j%}
        {{ k }}
        {% endfor %}
        {% endif %}
        {% endfor%}
        <button type="submit">添加</button>
        </p>
    </li>
    {% endfor %}
    </ul>
</head>
<body>

</body>
</html>